package com.whd.DIP.achieve;

import com.whd.DIP.Animal;

/**
 * @author whd
 * @date 2024/07/19 15:18:50
 */
public class Tiger extends Animal {
    public Tiger(String name){
        super.setName(name);
    }
    public void swing(){
        System.out.println(super.getName()+"不会游泳");
    }

}
